#ifndef PERSON_H
#define PERSON_H
#include <iostream>

using namespace std;
class Person
{
public:
    Person();
    Person(int a, int b);

    //全局函数实现左移重载
    //ostream对象只能有一个
    friend ostream& operator<<(ostream & out, Person p);
    bool  operator>( const  Person &p  );

public:
    int m_A;
    int m_B;
    int age;
};

#endif // PERSON_H
